﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace GsifWeb4.ViewModels
{
    public class PlayerViewModel
    {
        public string Image { get; set; }
        public string Name { get; set; }
        public string Position { get; set; }
        public string Born { get; set; }
        public string Length { get; set; }
        public string Weight { get; set; }
        public string MotherClub { get; set; }
        public string Motto { get; set; }
        public int ManOfTheMatch { get; set; }

        public string TotalGames { get; set; }
        public int TotalGoalKeeper { get; set; }
        public int TotalDefender { get; set; }
        public int TotalMidfielder { get; set; }
        public int TotalForward { get; set; }
        public int TotalSubstitute { get; set; }

        public List<MatchWithPersonalInfo> Matches { get; set; }
    }

    public class MatchWithPersonalInfo
    {
        public int Id { get; set; }
        public DateTime Date { get; set; }
        public int Year { get; set; }
        public string Team { get; set; }
        public string Opponent { get; set; }
        public string Result { get; set; }
        public string Round { get; set; }
        public int Goals { get; set; }
        public int Assists { get; set; }
        public int YellowCard { get; set; }
        public int RedCard { get; set; }
        public string ManOfTheMatch { get; set; }
    }
}